﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExportU4008RecordList.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.UserModel.ExportExecl.ExportU4008RecordList" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:repeater id="rpMenu" runat="server">
        <HeaderTemplate>
        <table class="table" width="100%" border=1 style=" border:1px solid #000;">
        <thead>
            <tr>
                <th >
                    机号
                </th>
                <th >
                    来电日期
                </th>                
                <th >
                    客户姓名
                </th>
                <th  align="center">
                   联系电话
                </th>                
                <th>
                   工作小时
                </th>  
                 <th >
                    经销商
                </th>
                 <th >
                    服务电话
                </th>
                <th>问题</th>
                <th>
                   转技师
                </th>             
                
                <th >
                    答复时间
                </th>  
                <th >
                    回复内容
                </th>               
                <th >
                    是否完成
                </th> 
                <th >
                    完成时间
                </th>                              
            </tr>
        </thead>
        <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr target="sid_user" rel="<%# Eval("U4RID") %>"><td>
                <%# Eval("SerialNumber")%>
                </td>
                <td><%# Convert.ToDateTime(Eval("CallDate")).ToString("yyyy-MM-dd")%></td>
				<td><%# Eval("CustomerName")%></td>                
				<td><%# Eval("CustomerTel")%></td>
                <td><%# Eval("WorkHours")%></td>
                <td><%# Eval("AgentName")%></td>
                <td><%# Eval("AgentTel") %></td>
                  <td title="<%# Eval("Problemdescription")%>"><%# Eval("Problemdescription")%></td>
                <td><%# Eval("RealName")%></td>				
               <%-- <td><%# Eval("ReplayDate") is DBNull?"": Convert.ToDateTime(Eval("ReplayDate")).ToString("yyyy-MM-dd")%></td>--%>
                <td>
                    
                        <%# Eval("ReplayDate") is DBNull?"": Convert.ToDateTime(Eval("ReplayDate")).ToString("yyyy-MM-dd")%>  
                    
                </td>
                <td><%# Eval("ReplayRemark")%></td>
                <td><%# Convert.ToBoolean(Eval("IsComplete")) ? "完成" : "<b style='color:red'>未完成</b>"%></td>
               <td><%# Eval("CompleteDate") is DBNull ? "" : Convert.ToDateTime(Eval("CompleteDate")).ToString("yyyy-MM-dd")%></td>
			</tr>
        </ItemTemplate>
        <FooterTemplate>
            </tbody>
         </table>
        </FooterTemplate>
    </asp:repeater>
    </form>
</body>
</html>
